<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script src="./lib//umd/single-spa.js"></script>
  <script>

    // 参数
    // 注册应用的名字
    // 加载app 的方法, 返回必须是一个promise
    singleSpa.registerApplication('app1', async () => {
      return {
        bootstrap: async()=>{},
        bootstrap: async()=>{},
        bootstrap: async()=>{}, 
      }
    })
  </script>
</body>

</html>